/*
 * tarm_iic.h
 *
 *  Created on: 2019��10��26��
 *      Author: AN
 */

#ifndef _TARM_TIME_H_
#define _TARM_TIME_H_


void TimeBase_Config(void);
void TimeBase_InitUnstart(void);
void TimeBase_Reset(void);
void TimeBase_Enable(void);
void TimeBase_Disable(void);
void TimeBase_ClearFlag(void);

void TimePV_Config(int t_timeUs);
void TimePV_InitUnstart(int t_timeUs);
void TimePV_Reset(void);
void TimePV_Start(int t_timeUs);
void TimePV_Enable(void);
void TimePV_Disable(void);
void TimePV_ClearFlag(void);
uint32_t TimePV_getNowTimer(void);

//speed debug timer
void SpeedDebugTimer_init();
void SpeedDebugTimer_start();
void SpeedDebugTimer_stop();
void SpeedDebugTimer_clear();
uint32_t SpeedDebugTimer_read();


//��hardware�ӿ�
void Time0CallBack(void);
void Time1CallBack(void);

#endif /* SRC_MIDDLEWARE_TARM_IIC_H_ */
